package com.service;

import com.pojo.Role;
import com.util.Pager;

import java.util.List;

public interface RoleService {
    Role searchByRole(String id);
    List<Role> list();
    Pager<Role> searchRolePager(Pager<Role> pager);
    int update(Role role);
    int deleteRole(Integer rid);
    int addRole(Role role);
}
